package com.isoft.c2team3service2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("user_message_status")
public class UserMessageStatus {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer messageId;     // 关联消息ID
    private Integer receiverId;    // 接收者ID
    private Integer isRead;        // 0-未读，1-已读
}
